def get_formatted_country(cityName, countryName, population=''):
    if population:
        city_country = f"{cityName}, {countryName} - {population}"
    else:
        city_country = f"{cityName}, {countryName}"
    return city_country.title()
